package cn.tm.liu.mode.factory.demo1;

/**
 * @author Marvin.L
 * @description
 * @date 2022.04.09 13.39
 */
public abstract class Computer {

    public abstract String getType();

    public abstract String getRAM();

    public abstract String getHDD();

    public abstract String getCPU();

    @Override
    public String toString() {
        return "Type= " + this.getType() + ", RAM= " + this.getRAM() + ", HDD=" + this.getHDD() + ", CPU=" + this.getCPU();
    }
}
